package com.byx.chatserver.service;

import com.byx.chatserver.entity.FileType;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * IFileService
 *
 * @author Superb
 * @date 2021/4/6 9:37
 */
@Service
public interface IFileService {

    String saveFile(MultipartFile file, String userId, FileType type);

    String saveFiles(List<MultipartFile> fileList,String userId,FileType type);
}
